package com.faxsun.core.readonly.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "blc_product")
public class ProductRO {

	@Id
	@Column(name = "product_id")
	private long id;

	@Column(name = "url")
	private String url;

	@Column(name = "archived")
	private Character archived;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUrl() {
		if(url==null){
			url="";
		}
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Character getArchived() {
		return archived;
	}

	public void setArchived(Character archived) {
		this.archived = archived;
	}

	
}
